package com.zmj.mobile.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.framework.base.entity.BasicUniqueEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.SuperBuilder;

/**
 * <p>
 * 采购询比价/定价明细表
 * </p>
 *
 * @author lzy
 * @since 2024-02-01
 */
@ApiModel(value = "QuoteItemDetailEntity", description = "采购询比价/定价明细表")
@TableName("quote_item_detail")
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class QuoteItemDetailEntity extends BasicUniqueEntity {

    @ApiModelProperty(value = "quote_item.id")
    private Long quoteItemId;

    @ApiModelProperty(value = "物料编号")
    private String materialCode;

    @ApiModelProperty(value = "物料名称")
    private String materialName;

    @ApiModelProperty(value = "规格")
    private String specification;

    @ApiModelProperty(value = "材质/品牌")
    private String material;

    @ApiModelProperty(value = "图号")
    private String drawCode;

    @ApiModelProperty(value = "采购数量")
    private String amount;

    @ApiModelProperty(value = "计数单位")
    private String countUnit;

    @ApiModelProperty(value = "单价")
    private String unitPrice;

    @ApiModelProperty(value = "合计")
    private String totalPrice;

    @ApiModelProperty(value = "供应商编码")
    private String supplierCode;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "供应商单价")
    private String supplierPrice;

    @ApiModelProperty(value = "联系人编码")
    private String contactCode;

    @ApiModelProperty(value = "联系人名称")
    private String contactName;
}
